public static void main(String[]args){
        List<Person>students = new ArrayList<>();
        Person zhangsan = new Person("张三",true,"大眼腩");
        Person 1isi = new Person("李四",false,"正常常眼");
        Person wangwu = new Person("王五",false,"丹凤眼");
        students.add(zhangsan);
        System.out,println(zhangsan.getName() + "来了");
        students.add(lisi);
        System.out,println(lisi.getName() + "来了");
        students.add(wangwu);
        System.out,println(wangwu.getName() + "来了");
        System.out,printIn("点名："+wangwu.getName())i
        checkName(wangwu getName(), students)
        students,remove(lisi);
        System,out,println(lisi.getName()+"走了");
        System.out.println("点名："+lisi.getName())
        checkName(Iisi.getName(),students);
        //冒泡排序
        Integer[]nums={75,66,33,34,31,337,65,346};
        System,out,println("排序前："+getDetail(nums))i
        for (int i =0;i nums.length;i++){
        for (int j 1;j nums.length;j++){
        if (nums[i]nums[i]){
        int tmp nums[i];
        nums[i]nums[i];
        nums[i]三tmp
        System.out.println("第”+i+轮第”+i+“次排序结果："+getDetail(nums));
        }
        }
        }
/**
 * 点名
 *
 *@param name 名字
 *@param students 学生列表
private static void checkName(String name,List<person>students){
for (Person p:students){
System.out.println("队列中的人有：”+p.getName());
p.answerName(name);

